package main.java;

public class Element {
	private Object value;
	private Element next;
	
	public Element (Object value){
		this.value = value;
		this.next = null;
	}
	
	public Element getNext(){
		return this.next;
	}
	
	public void setNext(Element newNext){
		this.next = newNext;
	}
	
	public Object getValue(){
		return this.value;
	}
	
	public void setValue(Object newValue){
		this.value = newValue;
	}
}
